package com.pp.bean;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张子艺
 * @since 2019-03-13
 */
public class PpImage extends Model<PpImage> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    /**
     * 图片路径
     */
    @TableField("pp_image_url")
    private String ppImageUrl;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getPpImageUrl() {
        return ppImageUrl;
    }

    public void setPpImageUrl(String ppImageUrl) {
        this.ppImageUrl = ppImageUrl;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "PpImage{" +
        "id=" + id +
        ", ppImageUrl=" + ppImageUrl +
        "}";
    }
}
